﻿using System;

namespace Nb.Common.Logs.demo
{
    public class TraceLoggerProvider : ILoggerProvider
    {
        ILogger _logger = new TraceAdapter();

        public ILogger GetLogger<T>()
        {
            return _logger;
        }

        public ILogger GetLogger(Type type)
        {
            return _logger;
        }

        public ILogger GetLogger(string name)
        {
            return _logger;
        }

        public ILogger GetLogger()
        {
            return _logger;
        }
    }
}